<template>
    <div>SkuForm</div>
    <el-button @click="$emit('setShowStatus', ShowStatus.SPU_LIST)">取消</el-button>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import { ShowStatus } from '../types';
export default defineComponent({
    name: 'SkuForm'
})
</script>
<script lang="ts" setup>
//声明定义自定义事件
const emit = defineEmits<
    { (e: 'setShowStatus', value: ShowStatus): void }
>()

</script>

<style lang="less" scoped></style>